Skip to content

Conversation

@mx-psi
Copy link
Member

@mx-psi mx-psi commented Jan 21, 2026

Description

Adds AGENTS.md file. The intent of this file is to:

  1. Make sure there is a human in the loop when creating a PR or posting issue comments.
  2. Make sure that commits created primarily by an agent are easily identifiable by reviewers

This is heavily inspired on the Open Policy Agent AGENTS.md file and the Fedora AI-assisted contributions policy.

This only affects agents that are compliant with the AGENTS.md file (see https://agents.md for list of tools that support it), as well as Claude Code using this workaround.

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.84%. Comparing base (97f66a9) to head (3d0a965).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #14462   +/-   ##
=======================================
  Coverage   91.83%   91.84%           
=======================================
  Files         677      677           
  Lines       42679    42680    +1     
=======================================
+ Hits        39195    39200    +5     
+ Misses       2427     2425    -2     
+ Partials     1057     1055    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mx-psi mx-psi marked this pull request as ready for review January 21, 2026 19:56
@mx-psi mx-psi requested a review from a team as a code owner January 21, 2026 19:56
@mx-psi mx-psi requested a review from codeboten January 21, 2026 19:56
@braydonk
Copy link
Contributor

Not a note on the PR contents, but the PR description appears to have an important typo where point 2 is cut off:

Make sure that commits created primarily by an agent are

Co-authored-by: Damien Mathieu <42@dmathieu.com>
@mx-psi
Copy link
Member Author

mx-psi commented Jan 26, 2026

Not a note on the PR contents, but the PR description appears to have an important typo where point 2 is cut off:

Make sure that commits created primarily by an agent are

Apologies, I was too quick to click the "Mark as ready for review" button. The intent was to say that these commits are easily identifiable.

@mx-psi mx-psi added this pull request to the merge queue Jan 26, 2026
@mx-psi
Copy link
Member Author

mx-psi commented Jan 26, 2026

I am going to merge this so we can try it out, we can always revert if there are issues without end-user impact

Merged via the queue into open-telemetry:main with commit 7c88dfc Jan 26, 2026
63 checks passed
@mx-psi mx-psi deleted the mx-psi/add-agents-file branch January 26, 2026 15:34
songy23 pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Jan 26, 2026
With the same content as from the collector core.
open-telemetry/opentelemetry-collector#14462

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants